package game;
import com.golden.gamedev.object.Sprite;


public class BonusTorpedo extends AbstractBonus
{
	private static final long serialVersionUID = 1L;

	public BonusTorpedo(){
		new BonusTorpedo(super.progBob, "Torpedo", new Sprite(createBufferedImage("resources/bon_torpedo.png")));
	}
	
    public BonusTorpedo (ProgBob progBob, String name, Sprite icon)
    {
    	super(progBob, name, icon);
    }
    
    @Override
    protected void toggleBonus(){
	  	bonusBoolean = true;
} 

    @Override
	public boolean isOn() {
		return bonusBoolean;
	}

	@Override
	public void turnOff() {
		bonusBoolean = false;
	}

	@Override
	public void turnOn() {
		bonusBoolean = true;
		
	}
}
